package com.ruoyi.lottery.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 抽奖奖品对象 lottery_prize
 * 
 * @author yyj
 * @date 2025-07-29
 */
public class LotteryPrize extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 奖品id */
    private Long prizeId;

    /** 关联的活动ID */
    @Excel(name = "关联的活动ID")
    private Long activityId;

    /** 奖品名称 */
    @Excel(name = "奖品名称")
    private String prizeName;

    /** 奖品类型(实物/虚拟/积分等) */
    @Excel(name = "奖品类型(实物/虚拟/积分等)")
    private String prizeType;

    /** 中奖概率(%) */
    @Excel(name = "中奖概率(%)")
    private BigDecimal prizeProbability;

    /** 奖品数量(NULL表示不限量) */
    @Excel(name = "奖品数量(NULL表示不限量)")
    private Long prizeQuantity;

    /** 奖品图片URL */
    @Excel(name = "奖品图片URL")
    private String prizeImage;

    /** 奖品描述 */
    @Excel(name = "奖品描述")
    private String prizeDescription;

    /** 排序 */
    @Excel(name = "排序")
    private Long sortOrder;

    public void setPrizeId(Long prizeId) 
    {
        this.prizeId = prizeId;
    }

    public Long getPrizeId() 
    {
        return prizeId;
    }

    public void setActivityId(Long activityId) 
    {
        this.activityId = activityId;
    }

    public Long getActivityId() 
    {
        return activityId;
    }

    public void setPrizeName(String prizeName) 
    {
        this.prizeName = prizeName;
    }

    public String getPrizeName() 
    {
        return prizeName;
    }

    public void setPrizeType(String prizeType) 
    {
        this.prizeType = prizeType;
    }

    public String getPrizeType() 
    {
        return prizeType;
    }

    public void setPrizeProbability(BigDecimal prizeProbability) 
    {
        this.prizeProbability = prizeProbability;
    }

    public BigDecimal getPrizeProbability() 
    {
        return prizeProbability;
    }

    public void setPrizeQuantity(Long prizeQuantity) 
    {
        this.prizeQuantity = prizeQuantity;
    }

    public Long getPrizeQuantity() 
    {
        return prizeQuantity;
    }

    public void setPrizeImage(String prizeImage) 
    {
        this.prizeImage = prizeImage;
    }

    public String getPrizeImage() 
    {
        return prizeImage;
    }

    public void setPrizeDescription(String prizeDescription) 
    {
        this.prizeDescription = prizeDescription;
    }

    public String getPrizeDescription() 
    {
        return prizeDescription;
    }

    public void setSortOrder(Long sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Long getSortOrder() 
    {
        return sortOrder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("prizeId", getPrizeId())
            .append("activityId", getActivityId())
            .append("prizeName", getPrizeName())
            .append("prizeType", getPrizeType())
            .append("prizeProbability", getPrizeProbability())
            .append("prizeQuantity", getPrizeQuantity())
            .append("prizeImage", getPrizeImage())
            .append("prizeDescription", getPrizeDescription())
            .append("sortOrder", getSortOrder())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
